(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <string.h>
int strrncasecmp()
SYNOPSIS
const char * str1
const char * str2
int cnt

FUNCTION
Compare the end parts of two strings. Case is ignored.

INPUTS
str1, str2 - Strings to compare
cnt
Compare that many characters
RESULT
Returns 0 if the strings are equal and != 0 otherwise.

NOTES
This function is not part of a library and may thus be called any time.

EXAMPLE
// rc = 0
rc = strrncasecmp ("disk.info", ".INFO", 5);

// rc <> 0
rc = strrncasecmp ("disk.info", ".c", 2);

BUGS
SEE ALSO
strcmp(), strcasecmp(), strncasecmp(), strrchr()
INTERNALS
HISTORY
27.03.1997 ldp
libaros.a -> libarossupport.a